package com.guoguo.service;

import com.guoguo.base.PageBean;
import com.guoguo.entity.Category;
import com.guoguo.entity.vo.CategoryVO;
import com.guoguo.entity.vo.ImagesVO;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/8/9 0009.
 */
public interface ICategoryService {

    /**
     * 查询分类列表
     *
     * @return
     */
    PageBean<Category> getCategory(int pageNum,int pageSize);

    List<CategoryVO> getCategoryList();

    Category addCategory(String cateId, String cateName, String cateDescription, Boolean  isShow, String groupId, Date createTime, Date updateTime);

    /**
     *
     * @param categorys
     * @return
     */
    int count(Category categorys);

    int insert(Category categorys);

    int insertSelective(Category categorys);

    Category selectByPrimaryKey(String cateId);

    int deleteByPrimaryKey(String cateId);
    Category updateBySelective();
    int updateCategory(Category category);

    /**
     * 逻辑删除
     * @param cateId
     * @return
     */
    int UDByPrimaryKey(String cateId);



}
